]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
altTab: Fix WindowSwitcherPopup
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 18 Aug 2014 17:31:31 +0000 (13:31 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 18 Aug 2014 17:34:32 +0000 (13:34 -0400)
The "backwards" parameter needs to be dropped here as well.

js/ui/altTab.js
js/ui/switcherPopup.js

index c734deaca770fa46406824938f318ce3b12955d9..efbb2382721b073b785a721fc5e1156b8a40d883 100644 (file)
@@ -400,9 +400,9 @@ const WindowSwitcherPopup = new Lang.Class({
             this._select(1);
     },
 
-    _keyPressHandler: function(keysym, backwards, action) {
+    _keyPressHandler: function(keysym, action) {
         if (action == Meta.KeyBindingAction.SWITCH_WINDOWS) {
-            this._select(backwards ? this._previous() : this._next());
+            this._select(this._next());
         } else if (action == Meta.KeyBindingAction.SWITCH_WINDOWS_BACKWARD) {
             this._select(this._previous());
         } else {
index 2d4ec2ab320fd4f6e8e4153ff1249a794c0c0d6a..ccb774de33f016e20df81e17c23fdc12739f579c 100644 (file)
@@ -178,7 +178,7 @@ const SwitcherPopup = new Lang.Class({
         return mod(this._selectedIndex - 1, this._items.length);
     },
 
-    _keyPressHandler: function(keysym, backwards, action) {
+    _keyPressHandler: function(keysym, action) {
         throw new Error('Not implemented');
     },